package com.zg.nacos.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/25 17:25
 */

@Data
@ApiModel
public class NamespaceEditReq extends NacosReq {

    @ApiModelProperty(value = "原命名空间", required = true)
    @NotBlank(message = "原命名空间不能为空")
    private String namespace;

    @ApiModelProperty(value = "新命名空间", required = true)
    @NotBlank(message = "新命名空间名称")
    private String namespaceShowName;

    @ApiModelProperty(value = "描述", required = true)
    @NotBlank(message = "描述")
    private String namespaceDesc;
}
